//
//  babyMessageViewController.h
//  cherryproduct
//
//  Created by Enter zhao on 14-8-18.
//  Copyright (c) 2014年 cherry. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface babyMessageViewController : BaseViewController
{
    NSString * _year;
    NSString * _month;
    UILabel  * _tempLabel;
}

@property (nonatomic, strong) NSString * str_boday;

@property (assign, nonatomic) BOOL sex;
@property (nonatomic, strong) NSString * str_sex_info;
@property (nonatomic, copy) CoreBackBlockForBody block_dismiss;

@property (strong, nonatomic) IBOutlet UIView *segementView;
@property (strong, nonatomic) IBOutlet UIButton *boyButton;
@property (strong, nonatomic) IBOutlet UIButton *girlButton;
@property (strong, nonatomic) IBOutlet UILabel *yearLabel;
@property (strong, nonatomic) IBOutlet UILabel *monthLabel;


@property (weak, nonatomic) IBOutlet UIView *view_year;

@property (weak, nonatomic) IBOutlet UIView *view_moth;

@property (weak, nonatomic) IBOutlet UIView *view_day;


@property (weak, nonatomic) IBOutlet UILabel *label_year;
@property (weak, nonatomic) IBOutlet UILabel *label_moth;
@property (weak, nonatomic) IBOutlet UILabel *label_day;




- (IBAction)goDown:(UIButton *)sender;
- (IBAction)goUp:(UIButton *)sender;


- (IBAction)yearDown:(UIButton *)sender;
- (IBAction)yearUp:(UIButton *)sender;
- (IBAction)monthDown:(UIButton *)sender;
- (IBAction)monthUp:(UIButton *)sender;
- (IBAction)boyButtonAction:(UIButton *)sender;
- (IBAction)girlButtonAction:(UIButton *)sender;
- (IBAction)okButtonAction:(UIButton *)sender;
- (void)setYearAndmonth:(int)year month:(int)nonth babyLabel:(UILabel*)label;


@end
